package com.yunxin.core.application.dto.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author zero°
 * @since 2023-07-17
 */
@Data
@Schema(description = "页面元素头部产品对象")
public class PageElementProductTitleDTO implements Serializable {

    /**
     * 最高可借金额
     */
    @Schema(description = "最高可借金额")
    private BigDecimal highestBorrowableAmount;
    /**
     * 标签
     */
    @Schema(description = "标签")
    private List<String> productLabelingList;
    /**
     * 产品solGan
     */
    @Schema(description = "产品solGan")
    private String productSolGan;

    /**
     * 产品权益描述(JSON实体-list)
     */
    @Schema(description = "产品权益描述(JSON实体-list)")
    private List<EquityDescription> equityDescription;

    @Data
    public static class EquityDescription implements Serializable {
        /**
         * 权益描述图片
         */
        @Schema(description = "权益描述图片")
        private String imageUrl;
        /**
         * 主卖点
         */
        @Schema(description = "权益主卖点")
        private String mainPoint;
        /**
         * 副卖点
         */
        @Schema(description = "权益描述副卖点")
        private String point;
    }
}
